#include <QApplication>
#include "gitleventbus.h"
#include "test/mainwindow.h"


class Model: public GitlModual
{
public:
    Model() {listenToEvtByName("test_event"); this->setModualName("model");}
    virtual bool detonate( GitlEvent* pcEvt ){pcEvt->getEvtData().setParameter("test_respond","Hello");return true;}
};


int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Model m;
    MainWindow w1;
    w1.show();



    return a.exec();
}
